package business.report.impl;

import business.report.TransportOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.TransportOperation;
import report.domain.TransportOperationCriteria;
import report.mapper.TransportOperationMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "transportOperationService")
public class TransportOperationServiceImpl implements TransportOperationService{
    @Autowired
    TransportOperationMapper transportOperationMapper;

    @Override
    public List<TransportOperation> getTransportOperation() {
        TransportOperationCriteria criteria = new TransportOperationCriteria();
        criteria.createCriteria().getAllCriteria();
        return transportOperationMapper.selectByExample(criteria);
    }
}
